import { http } from "@/utils/http";
import { ServerInfo } from "@/api/model/serverModel";

enum Api {
  ServerInfo = "/server/info",
}

export function getServerInfo() {
  return http.get<ServerInfo>({
    url: Api.ServerInfo,
  });
}
